package com.chanzany.state.improve;

/**
 * @Author ChanZany
 * @Date 2021/10/20 16:30
 * @Version 1.0
 */
public class FlyweightStatePattern {
    public static void main(String[] args) {
        ShareContext context = new ShareContext(); //创建环境
        context.handle(); //处理请求
        context.handle();
        context.handle();
        context.handle();
    }
}
